how to create qr code scanner in python